package org.example.entity.yy;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

@Data
public class Attractions implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id值
     */
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 主题id
     */
    private Integer topic;

    /**
     * 图片地址
     */
    private String image;

    /**
     * 简介
     */
    private String introduce;

    /**
     * 地址
     */
    private String address;

    /**
     * 详细地址 
     */
    private String detailedAddress;

    /**
     * 价格
     */
    private Double price;

    /**
     * 星级（5A,4A,3A,其他）
     */
    private String appraise;

    //是否推荐
    private Integer recommend;

    //浏览量
    private String views;

    //是否被收藏
    @TableField(exist = false)
    private int collectionCount;

    //映射条件
    @TableField(exist = false)
    private String addressName;

    @TableField(exist = false)
    private String topicName;

    @TableField(exist = false)
    private String starName;


    @TableField(exist = false)
    //集合
    private List<Introduce> lists;


}
